package com.person.person.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dfj@99chuxing.com
 * @date 2018/4/17 0017 15:07
 */
@RestController
public class ConfigCheckController {

    @Value("${server.port}")
    String foo;
    @RequestMapping(value = "/config")
    public String hi(){
        return foo;
    }


}
